package org.jeecg.modules.demo.crm.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @Description: 项目金额数据看板
 * @Author: jeecg-boot
 * @Date:   2025-07-18
 * @Version: V1.0
 */
@Data
@TableName("c_project_preview")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="c_project_preview对象", description="项目金额数据看板")
public class CProjectPricePreview implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键")
    private String id;
	/**项目*/
	@Excel(name = "项目", width = 15, dictTable = "c_project_application", dicText = "project_name", dicCode = "id")
	@Dict(dictTable = "c_project_application", dicText = "project_name", dicCode = "id")
    @ApiModelProperty(value = "项目")
    private String projectId;
	/**项目编号*/
	@Excel(name = "项目编号", width = 15)
    @ApiModelProperty(value = "项目编号")
    private String projectNumber;
	/**所属库*/
	@Excel(name = "所属库", width = 15, dictTable = "c_library", dicText = "name", dicCode = "id")
	@Dict(dictTable = "c_library", dicText = "name", dicCode = "id")
    @ApiModelProperty(value = "所属库")
    private String libraryId;

	/**总包主体*/
	@Excel(name = "总包主体", width = 15, dictTable = "c_company_info", dicText = "company_name", dicCode = "id")
	@Dict(dictTable = "c_company_info", dicText = "company_name", dicCode = "id")
    @ApiModelProperty(value = "总包主体")
    private String companyInfoId;

	/**发包单位*/
	@Excel(name = "发包单位", width = 15, dictTable = "c_contracting_unit", dicText = "name", dicCode = "id")
	@Dict(dictTable = "c_contracting_unit", dicText = "name", dicCode = "id")
	@ApiModelProperty(value = "发包单位")
	private String contractingUnit;

	@ApiModelProperty(value = "子项目数量")
	private Integer subProjectCount;

}
